package com.example.config.modbus;

import com.serotonin.modbus4j.ProcessImageListener;

/**
 * @Author 郅占伟
 * @ClassName BasicProcessImageListener
 * @Description TODO
 * @Date 2024年07月30日
 * @Version: 1.0
 */
public class BasicProcessImageListener implements ProcessImageListener {

    @Override
    public void coilWrite(int i, boolean b, boolean b1) {

    }

    @Override
    public void holdingRegisterWrite(int offset, short oldValue, short newValue) {
        System.out.println("holdingRegisterWrite: 地址：" + offset + "原值：" + oldValue + "新值：" + newValue);
    }
}
